/*
 * numtostr.h
 *
 *  Created on: Jun 26, 2025
 *      Author: �����з�-WD
 */

#ifndef INC_NUMTOSTR_H_
#define INC_NUMTOSTR_H_
void IntToStr(int num, char *buffer, int width);
// 浮点数转字符串（优化版本：符号算入总长度）
void FloatToStr(float num, char *buffer, int decimalPlaces, int significantDigits, int showPlus);
uint8_t Modbus_Read_Register(UART_HandleTypeDef *huart,uint16_t start_addr, uint8_t reg_num,uint8_t *data_buf, uint16_t *data_len);

#endif /* INC_NUMTOSTR_H_ */
